package UnOfficeDeTourisme;

/**
 * Interface definition : Catalogue
 * 
 * @author OpenORB Compiler
 */
public class CataloguePOATie extends CataloguePOA
{

    //
    // Private reference to implementation object
    //
    private CatalogueOperations _tie;

    //
    // Private reference to POA
    //
    private org.omg.PortableServer.POA _poa;

    /**
     * Constructor
     */
    public CataloguePOATie(CatalogueOperations tieObject)
    {
        _tie = tieObject;
    }

    /**
     * Constructor
     */
    public CataloguePOATie(CatalogueOperations tieObject, org.omg.PortableServer.POA poa)
    {
        _tie = tieObject;
        _poa = poa;
    }

    /**
     * Get the delegate
     */
    public CatalogueOperations _delegate()
    {
        return _tie;
    }

    /**
     * Set the delegate
     */
    public void _delegate(CatalogueOperations delegate_)
    {
        _tie = delegate_;
    }

    /**
     * _default_POA method
     */
    public org.omg.PortableServer.POA _default_POA()
    {
        if (_poa != null)
            return _poa;
        else
            return super._default_POA();
    }

    /**
     * Read accessor for idCatalogue attribute
     */
    public int idCatalogue()
    {
        return _tie.idCatalogue();
    }

    /**
     * Read accessor for nomCatalogue attribute
     */
    public String nomCatalogue()
    {
        return _tie.nomCatalogue();
    }

    /**
     * Read accessor for listeDesPrestations attribute
     */
    public UnOfficeDeTourisme.Prestation[] listeDesPrestations()
    {
        return _tie.listeDesPrestations();
    }

    /**
     * Operation ajouterPresta
     */
    public void ajouterPresta(UnOfficeDeTourisme.Prestation p)
    {
        _tie.ajouterPresta( p);
    }

    /**
     * Operation listerPresta
     */
    public UnOfficeDeTourisme.Prestation[] listerPresta()
    {
        return _tie.listerPresta();
    }

}
